//
//  Kratos_bandingVC.m
//  gggg
//
//  Created by K on 2019/1/9.
//  Copyright © 2019 K. All rights reserved.
//

#import "Kratos_bandingVC.h"
#import "k_const.h"
#import "Kratos_bangdingView.h"
#import "Kratos_bangdingPresenter.h"

@interface Kratos_bandingVC ()
@property (nonatomic,strong)  Kratos_bangdingView *bangdingView;
@property (nonatomic,strong)  Kratos_bangdingPresenter *presenter;
@end

@implementation Kratos_bandingVC




- (void)viewDidLoad {
    [super viewDidLoad];


    [self.Kra_coverView addSubview:self.bangdingView];
    [self accountViewLayout];

    [self.presenter Kratos_usageLogic];

    
    // Do any additional setup after loading the view.
}

- (void)accountViewLayout
{
    layoutView(self.bangdingView)
    
}
- (void)doRotateAction:(NSNotification *)notification {
    [self accountViewLayout];
}


- (Kratos_bangdingPresenter *)presenter
{
    if (_presenter == nil) {
        _presenter = [[Kratos_bangdingPresenter alloc ]initWithView:self.bangdingView];
        [_presenter setViewController:self];
    }
    return _presenter;
}

- (Kratos_bangdingView *)bangdingView
{
    if (_bangdingView == nil) {
        _bangdingView = [[Kratos_bangdingView alloc]init];
        _bangdingView.backgroundColor = [UIColor whiteColor];
    }
    return _bangdingView;
}

@end
